package com.rightsidetech.activity.mapper;

import com.rightsidetech.activity.entity.MtActivityRuleBusiness;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MtActivityRuleBusinessMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MtActivityRuleBusiness record);

    int insertSelective(MtActivityRuleBusiness record);

    MtActivityRuleBusiness selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MtActivityRuleBusiness record);

    int updateByPrimaryKey(MtActivityRuleBusiness record);

    int deleteByActId(Long actId);

    List<String> selectBizValueListByActId(@Param("actId") Long actId);

    MtActivityRuleBusiness selectByBizIdAndActId(@Param("actId") Long actId,@Param("bizId") String bizId);
}